<!DOCTYPE html>
<html>
<head>
	<title>心跳检测</title>
	<script type="text/javascript" src="socket.io.min.js"></script>
</head>
<body>
<script>
  var socket = io('http://192.168.1.3:8890');
  socket.on('connect', function(){console.log('连接成功')});
  socket.on('event', function(data){});
  socket.on('disconnect', function(){});
</script>
</body>
</html>